<?php
namespace Home\Model;
use Think\Model;
class verifyModel extends Model {

    public function getoneverify(){

        $sql="select * from verify order by rand() limit 1";
        $res=$this->query($sql);
        $question=current($res);
        $_SESSION['answer']=$question['answer'];

        return $question['question'];
    }

}